package com.zkthink.ceres.promotion.strategy;

import com.zkthink.ceres.promotion.dto.PromotionDetailDTO;

import java.util.List;

/**
 * <p>
 *    优惠方案策略
 * </p>
 *
 * @author vivi.huang
 * @since 2020/6/23
 */
public interface PromotionPlanStrategy {

    /**
     *
     * @param orderAmount
     * @param promotionDetailDTOList
     * @return
     */
    Long calculateAmount(Long orderAmount, List<PromotionDetailDTO> promotionDetailDTOList);
}